package org.wyz.decorator;

public class Main {
    public static void main(String[] args) {
        EnhanceBufferReader reader1 = new EnhanceBufferReader(new FileReader());
        System.out.println(reader1.read());


        System.out.println("------");

        EnhanceDecodeReader reader2 = new EnhanceDecodeReader(new NetworkReader());
        System.out.println(reader2.read());
    }
}
